.Sidebar {
  width: 300px;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 6px;
  overflow-y: auto;
}

.ContactContainer {
  display: flex;
  column-gap: 10px;
  height: 100%;
}

.base-list-style {
  cursor: pointer;
  transition: 200ms;
  &:hover { background: #E7F0FF }
}

.SidebarContainer {
  font-size: 15px;
  color: #333333;
  li {
    border-radius: 4px;
    display: flex;
    align-items: center;
    column-gap: 8px;
    padding: 15px 12px;
    @extend .base-list-style;
    img { width: 24px }
  }
  ._active { background: #E7F0FF }
}

.container {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  height: 100%;
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #F2F3F5;
  }
  .main {
    overflow-y: auto;
    padding: 0 20px;
    max-width: calc(100vw - 380px);
    overflow-x: auto;
  }
  .organizationDepartments {
    display: flex;
    flex-direction: row;
    height: 100%;
    max-width: 100%;
    column-gap: 10px;
    .departments {
      width: 262px;
      min-width: 262px;
      height: 100%;
      position: relative;
      padding: 10px 0;
      overflow-x: hidden;
      overflow-y: auto;
      &:last-child { flex-grow: 1 }
      &:not(:last-child) {
        padding-right: 10px;
        border-right: 1px solid #dee0e3;
      }
      &Item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 10px;
        border-bottom: 1px solid transparent;
        @extend .base-list-style;
      }
      &Active {
        color: #3370ff;
        border-bottom: 1px solid #3370ff;
      }
    }
  }
}

.searchContainer {
  margin-top: 10px;
  max-height: 40vh;
  overflow-y: auto;
  li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    @extend .base-list-style;
    padding: 8px 5px;
    gap: 5px;
    border-bottom: 1px solid #ddd;
    &:last-child { border-bottom: none }
  }
}
